package com.bdqn.tsyyds.repository;

import com.bdqn.tsyyds.entity.BookCategory;
import com.bdqn.tsyyds.entity.BookInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import javax.persistence.Id;
import java.util.List;

public interface BookInfoRepostiory extends JpaRepository<BookInfo, Long>, JpaSpecificationExecutor<BookInfo> {
    List<BookInfo> findById(int id);
}
